export const FORM_LISTS = [
  {
    "id": '1',
    "relateId": '',
    "optionIndex": '',
    "name": "贵公司是否已复工产",
    "type": "radio",
    "isNeed": true,
    "options": [
      "是（含春节假期未停工停产）",
      "否，贵企业计划何时复工复产"
    ],
    "tableKey": "fugong"
  },
  {
    "id": '',
    "relateId": '1',
    "optionIndex": '0',
    "name": "是（含春节假期未停工停产）",
    "type": "radio",
    "isNeed": true,
    "options": [
      "2月10日前",
      "2月14日前",
      "2月16日前"
    ],
    "tableKey": "riqi"
  },
  {
    "id": '',
    "relateId": '1',
    "optionIndex": '0',
    "name": "贵企业已到岗员工(含居家办公)与往年同期到岗员工相比",
    "type": "radio",
    "isNeed": true,
    "options": [
      "达到10-20%",
      "达到20-30%",
      "达到30-40%",
      "达到40-50%",
      "达到50-60%",
      "达到60-70%",
      "达到70-80%",
      "达到80-90%",
      "达到90-1000%",
      "超过100%"
    ],
    "tableKey": "fugong_0"
  },
  {
    "id": '',
    "relateId": '1',
    "optionIndex": '0',
    "name": "贵企业目前生产或服务规模与往年同期相比",
    "type": "radio",
    "isNeed": true,
    "options": [
      "达到10-20%",
      "达到20-30%",
      "达到30-40%",
      "达到40-50%",
      "达到50-60%",
      "达到60-70%",
      "达到70-80%",
      "达到80-90%",
      "达到90-1000%",
      "超过100%"
    ],
    "tableKey": "fugong_1"
  },
  {
    "id": '',
    "relateId": '1',
    "optionIndex": '1',
    "name": "否，贵企业计划何时复工复产",
    "type": "radio",
    "isNeed": true,
    "options": [
      "2月21日前",
      "2月29日前",
      "3月1日后"
    ],
    "tableKey": "riqi"
  },
  {
    "id": '',
    "relateId": '1',
    "optionIndex": '1',
    "name": "目前不能复工复产的主要原因",
    "type": "checkbox",
    "isNeed": true,
    "options": [
      "缺乏防疫物资（如口罩、消毒用品等）",
      "员工无法到岗",
      "所需材料和零部件配套厂家尚未开工，无法供货",
      "所需材料和零部件配套厂家受制于道路运输无法供货",
      "产品发货受制于运输管制",
      "本地政府部门/园区尚未允许复工复产",
      "市场订单减少",
      "房租、用工、物流等成本高企",
      "担心疫情蔓延风险",
      "资金紧张",
      "其它，请具体描述"
    ],
    "tableKey": "fugong_0",
    "other": {
      "length": 100,
      "tableKey": "fugong_0_",
      "placeholder": "请输入内容"
    },
    "max": 5
  },
  {
    "id": '',
    "relateId": '1',
    "optionIndex": '1',
    "name": "贵企业希望政府出台哪些措施帮助企业复工复产",
    "type": "checkbox",
    "isNeed": true,
    "options": [
      "帮助企业调配口罩酒精等复工所需防疫物品",
      "加强对企业疫情防控指导，明确疫情防控标准和实施细则",
      "帮助企业协调原辅材料和产品发货等运输问题",
      "允许企业在保障安全前提下自行决定复工时间",
      "允许企业实行阶段性灵活薪酬方式",
      "帮助企业招工",
      "政府部门加强电子政务服务",
      "提供房租、水电费等补贴",
      "对现有贷款展期",
      "贷款贴息",
      "其它，请具体描述"
    ],
    "tableKey": "fugong_1",
    "other": {
      "length": 100,
      "tableKey": "fugong_1_",
      "placeholder": "请输入内容"
    },
    "max": 5
  },
  {
    "id": '2',
    "relateId": '',
    "optionIndex": '',
    "name": "贵企业是否知晓各级政府出台的应对疫情帮扶企业政策",
    "type": "radio",
    "isNeed": true,
    "options": [
      "不知晓",
      "知晓，尚未享受",
      "知晓，已享受"
    ],
    "tableKey": "zhengce"
  },
  {
    "id": '3',
    "relateId": '',
    "optionIndex": '',
    "name": "为应对疫情影响，贵企业将采取哪些自救措施",
    "type": "checkbox",
    "isNeed": true,
    "options": [
      "员工在家远程办公",
      "加强线上服务",
      "采用自动化生产",
      "与客户协商一致合同延期",
      "申请政府资金补助",
      "加快新产品、新服务开发",
      "以加班弥补停产停业损失",
      "实行灵活用工方式（如企业间共享员工等）",
      "组织员工参加线上培训",
      "降薪",
      "裁员",
      "关停生产线、门店等",
      "其它，请具体描述"
    ],
    "other": {
      "type": "input",
      "length": 100,
      "tableKey": "cuoshi_",
      "placeholder": "请输入内容"
    },
    "tableKey": "cuoshi",
    "max": 5
  },
  {
    "id": '4',
    "relateId": '',
    "optionIndex": '',
    "name": "企业所属行业",
    "type": "dropdown",
    "isNeed": true,
    "options": [
      "请选择",
      "农、林、牧、渔业",
      "工业",
      "建筑业",
      "批发业",
      "零售业",
      "交通运输业",
      "仓储业",
      "邮政业",
      "住宿业",
      "餐饮业",
      "信息传输业",
      "软件和信息技术服务业",
      "房地产开发经营",
      "物业管理",
      "租赁和商务服务业",
      "科学研究和技术服务业",
      "文化体育和娱乐业",
      "教育及卫生和社会工作",
      "居民修理和其他服务业",
      "其他行业"
    ],
    "tableKey": "hangye"
  },
  {
    "id": '5',
    "relateId": '',
    "optionIndex": '',
    "name": "企业注册所在地",
    "type": "address",
    "isNeed": true,
    "tableKey": "address"
  },
  {
    "id": '6',
    "relateId": '',
    "optionIndex": '',
    "name": "企业名称",
    "type": "input",
    "placeholder": "请输入企业名称",
    "isNeed": false,
    "tableKey": "qiye",
    "length": 100
  },
  {
    "id": '7',
    "relateId": '',
    "optionIndex": '',
    "name": "联系人及电话",
    "type": "input",
    "placeholder": "请输入您的联系方式",
    "isNeed": false,
    "tableKey": "lianxi",
    "length": 100
  }
]

// export const formData = JSON.stringify(formData_)

export const FORM_TYPES = [
  { name:'单选', value:'radio' },
  { name:'多选', value:'checkbox' },
  { name:'输入框', value:'input' },
  { name:'下拉列表', value:'dropdown' },
  { name:'地址', value:'address' },
  { name:'多行文本', value:'textarea' },
]
export const FORM_INPUT_TYPES = [
  { name:'文本', value:'text' },
  { name:'电话', value:'tel' },
  { name:'邮件', value:'email' },
  { name:'密码', value:'password' },
  { name:'数字', value:'number' },
]
export const FORM_TYPES_MAP = {
  radio: 'radio',
  checkbox: 'checkbox',
  input: 'input',
  dropdown: 'dropdown',
  address: 'address',
  textarea: 'textarea',
}

export const ADD_FORM_LISTS = {
"radio": {
  "id": '1',
  "relateId": '',
  "optionIndex": '',
  "name": "贵公司是否已复工产",
  "type": "radio",
  "isNeed": true,
  "options": [
    "是（含春节假期未停工停产）",
    "否，贵企业计划何时复工复产"
  ],
  "tableKey": "fugong"
},
"checkbox": {
  "id": '2',
  "relateId": '',
  "optionIndex": '',
  "name": "目前不能复工复产的主要原因",
  "type": "checkbox",
  "isNeed": true,
  "options": [
    "缺乏防疫物资（如口罩、消毒用品等）",
    "员工无法到岗",
    "所需材料和零部件配套厂家尚未开工，无法供货",
    "所需材料和零部件配套厂家受制于道路运输无法供货",
    "产品发货受制于运输管制",
    "本地政府部门/园区尚未允许复工复产",
    "市场订单减少",
    "房租、用工、物流等成本高企",
    "担心疫情蔓延风险",
    "资金紧张",
    "其它，请具体描述"
  ],
  "tableKey": "fugong_0",
  "other": {
    "length": 100,
    "tableKey": "fugong_0_",
    "placeholder": "请输入内容"
  },
  "max": 5
},
"dropdown": {
  "id": '3',
  "relateId": '',
  "optionIndex": '',
  "name": "企业所属行业",
  "type": "dropdown",
  "isNeed": true,
  "options": [
    "请选择",
    "农、林、牧、渔业",
    "工业",
    "建筑业",
    "批发业",
    "零售业",
    "交通运输业",
    "仓储业",
    "邮政业",
    "住宿业",
    "餐饮业",
    "信息传输业",
    "软件和信息技术服务业",
    "房地产开发经营",
    "物业管理",
    "租赁和商务服务业",
    "科学研究和技术服务业",
    "文化体育和娱乐业",
    "教育及卫生和社会工作",
    "居民修理和其他服务业",
    "其他行业"
  ],
  "tableKey": "hangye"
},
"address": {
  "id": '4',
  "relateId": '',
  "optionIndex": '',
  "name": "企业注册所在地",
  "type": "address",
  "isNeed": true,
  "tableKey": "address"
},
"input": {
  "id": '5',
  "relateId": '',
  "optionIndex": '',
  "name": "企业名称",
  "type": "input",
  "placeholder": "请输入企业名称",
  "isNeed": false,
  "tableKey": "qiye",
  "length": 100
},
"textarea": {
  "id": '6',
  "relateId": '',
  "optionIndex": '',
  "name": "更多",
  "type": "textarea",
  "row": 5,
  "placeholder": "请输入你的意见",
  "isNeed": false,
  "tableKey": "yijian",
  "length": 100
}
}
//企业进微博热门自测题
//企业用户能进微博热门，获得10亿流量扶持了~你知道什么样的博文能够获得扶持吗？快来测测吧！
export const FORM_RANDOM_COLORS = ["#42a5f5","#ff7d7a","#9fc937","#9b65d0","#ffa726"]
export const FORM_RIGHT_COLOR = '#9fc937'
export const FORM_WRONG_COLOR = '#e75a2d'
export const FORM_ITEM_STATUS = {
  null: 0,
  right: 1,
  wrong: 2,
}
export const FORM_SCORE_TYPES = [
{ name:'单选', value:'radio' },
{ name:'多选', value:'checkbox' },
]
export const ADD_FORM_SCORE_LISTS = {
'radio': {
  "name": "进热门能够为企业带来什么？",
  "options": [
    "全网曝光",
    "获取兴趣人群关注，精准涨粉",
    "本地精准流量",
    "以上全都是"
    ],
    "score": "5",
    "type": "radio",
    "right": "3",
    "imgUrl": ""
},
'checkbox': {
  "name": "以下博文为什么不能进热门？",
  "options": [
    "没有带链接",
    "话题与内容不相干，恶意蹭流量",
    "有价格折扣信息",
    "转发抽奖"
  ],
  "score": "10",
  "type": "checkbox",
  "right": "1,2,3",
  "imgUrl": "https://static.hd.xxx.com/upload/biz/76/365225.jpg"
}
}
export const FORM_SCORE_LISTS = [{
  "name": "进热门能够为企业带来什么？",
  "options": [
    "全网曝光",
    "获取兴趣人群关注，精准涨粉",
    "本地精准流量",
    "以上全都是"
    ],
    "score": "5",
    "type": "radio",
    "right": "3",
    "imgUrl": "",
    "info": "",
},
{
  "name": "企业发布以下哪种博文会获得热门流量扶持？",
  "options": [
    "恶意蹭热点",
    "违规转发抽奖",
    "行业干货",
    "领券二维码"
  ],
  "score": "5",
  "type": "radio",
  "right": "2",
  "imgUrl": "",
  "info": "恶意蹭热点、违规转发抽奖、领券二维码等属于低质营销内容，无法获取热门流量扶持。",
},
{
  "name": "企业发布以下哪种博文不会获得流量扶持？",
  "options": [
    "搬运内容",
    "转发博文",
    "广告博文",
    "以上都不会"
  ],
  "score": "5",
  "type": "radio",
  "right": "3",
  "imgUrl": "",
  "info": "进热门博文须是原创非搬运、非营销内容",
},
{
  "name": "1万粉丝以下的企业发布博文能进热门吗",
  "options": [
    "能",
    "不能"
  ],
  "score": "5",
  "type": "radio",
  "right": "0",
  "imgUrl": "",
  "info": "微博对于企业粉丝量没有限制，所有企业均有机会进热门。",
},
{
  "name": "账号密集发布低质营销信息，一段时间内将无法进热门。",
  "options": [
    "是",
    "否"
  ],
  "score": "5",
  "type": "radio",
  "right": "0",
  "imgUrl": "",
  "info": "发布垃圾营销信息的低质账号，将无法获得热门流量扶持。企业要长期“维护”好形象哦",
},
{
  "name": "以下哪种博文类型进热门概率高？",
  "options": [
    "图文",
    "头条文章",
    "视频",
    "以上都不是"
  ],
  "score": "5",
  "type": "radio",
  "right": "3",
  "imgUrl": "",
  "info": "发博样式不会影响进热门的概率。",
},
{
  "name": "带话题越多，被热门收录的概率就越大。",
  "options": [
    "是",
    "否"
  ],
  "score": "5",
  "type": "radio",
  "right": "1",
  "imgUrl": "",
  "info": "话题数量不会影响进热门的概率。",
},
{
  "name": "投票博文能获得企业热门流量扶持吗",
  "options": [
    "能",
    "不能"
  ],
  "score": "5",
  "type": "radio",
  "right": "0",
  "imgUrl": "",
  "info": "投票博文也能进热门",
},
{
  "name": "企业带定位发布优质博文，能够额外获得同城曝光",
  "options": [
    "是",
    "否"
  ],
  "score": "5",
  "type": "radio",
  "right": "0",
  "imgUrl": "",
  "info": "",
},
{
  "name": "以下哪种说法是正确的",
  "options": [
    "博文互动高低会影响能否进热门",
    "带链接越多，就能进热门",
    "发布内容数量多，就能进热门",
    "转发抽奖互动高，就能进热门"
  ],
  "score": "5",
  "type": "radio",
  "right": "0",
  "imgUrl": "",
  "info": "通过好内容提升博文互动吧",
},
{
  "name": "以下博文为什么不能进热门？",
  "options": [
    "没有带链接",
    "话题与内容不相干，恶意蹭流量",
    "有价格折扣信息",
    "转发抽奖"
  ],
  "score": "10",
  "type": "checkbox",
  "right": "1,2,3",
  "imgUrl": "https://static.hd.xxx.com/upload/biz/76/365225.jpg",
  "info": "",
},
{
  "name": "以下博文能进热门吗？",
  "options": [
    "能。内容干货、素材清晰、无明显营销信息",
    "不能。配图太多、文案太短"
  ],
  "score": "10",
  "type": "radio",
  "right": "0",
  "imgUrl": "https://static.hd.xxx.com/upload/biz/76/386260.6003",
  "info": "多图、短文案也能进热门哦",
},
{
  "name": "以下转发抽奖博文能进热门",
  "options": [
    "正确", 
    "错误"
  ],
  "score": "10",
  "type": "radio",
  "right": "1",
  "imgUrl": "https://static.hd.xxx.com/upload/biz/76/386260.6003",
  "info": "暂不支持转发抽奖内容进热门流。",
},
{
  "name": "带小店的博文不能进热门",
  "options": [
    "正", 
    "错误"
  ],
  "score": "10",
  "type": "radio",
  "right": "1",
  "imgUrl": "https://static.hd.xxx.com/upload/biz/76/704563.0268",
  "info": "",
},
{
  "name": "以下博文能进热门吗？",
  "options": [
    "能", 
    "不能"
  ],
  "score": "10",
  "type": "radio",
  "right": "1",
  "imgUrl": "https://static.hd.xxx.com/upload/biz/76/994323.3469",
  "info": "内容质量差，言之无物。会被机器判定成低质内容，不予入库。"
}
]